<?php echo form_error('nome');?>
<?php echo form_error('valor');?>
<form action="<?php echo($action);?>" method="post">
	<table border="1">
		<tr>
			<td>* Nome:</td>
			<td><input type="text" name="nome" maxlength="200" required="required" value="<?php echo((isset($representante->tx_nome))? $representante->tx_nome : ''); echo set_value('nome'); ?>" /></td>
		</tr>
		<tr>
			<td>Empresa:</td>
			<td><input type="text" name="empresa" maxlength="200" value="<?php echo((isset($representante->tx_empresa))? $representante->tx_empresa : ''); echo(set_value('empresa'));?>"  /></td>
		</tr>
		<tr>
			<td><input type="hidden" name="idRepresentante" value="<?php echo($representante->id_repres_comercial);?>" /></td>
			<td><input type="submit" value="Alterar" /></td>
		</tr>
	</table>
</form>
* campos obrigatorios
